package com.woniuxy.renters.service;

import com.woniuxy.core.util.PageInfo;
import com.woniuxy.renters.dao.RentersInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.renters.model.form.AddrentersinfoForm;
import com.woniuxy.renters.model.param.AddCarportParam;
import com.woniuxy.renters.model.param.AddrentersinsertstallParam;
import com.woniuxy.renters.model.param.IdCard;
import com.woniuxy.renters.model.param.LoadAllRentersinfoParam;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 凌玉春
 * @since 2024年01月15日
 */
public interface RentersInfoService extends IService<RentersInfo> {

    IdCard rentersVerifyIdCard(String name, String idcard, Integer id);

    void updateRentersInfo(String rentersinfotel, Integer id);

    RentersInfo uploadImage(MultipartFile image, String id) throws IOException;

    PageInfo<RentersInfo> loadAllRentersinfo(LoadAllRentersinfoParam param);

    RentersInfo loadAllRentersinfobyName(String rentersinfoName);


    RentersInfo loadAllRentersinfobyId(Integer rentersInfoId);

    RentersInfo loadAllRentersinfoByRentersinforPhone(String rentersinfoPhone);


    void insertRentersInfo(AddrentersinfoForm form, String id);

    RentersInfo loadAllRentersInfos(String id);

    Boolean loadAllRentersInfoss(String id);

    void addCarport(AddCarportParam param);
}
